package cn.fraudmetrix.octopus.modules.mock.entity;

import java.util.Date;

/**
 * @author libao.zheng
 * @email libao.zheng@tongdun.net
 * @date 2018/12/20 15:13
 */
public class CrawlMockDataEntity {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 测试场景
     */
    private String testScene;

    /**
     * 1 可用 0 不可用
     */
    private Boolean available;

    /**
     * 渠道类型
     */
    private String channelType;

    /**
     * 渠道编码
     */
    private String channelCode;

    /**
     * 渠道地区
     */
    private String channelAttr;

    /**
     * 任务编号
     */
    private String taskId;

    /**
     * 请求地址
     */
    private String requestUrl;

    /**
     * 请求方法
     */
    private String requestMethod;

    /**
     * 请求头
     */
    private String requestHeader;

    /**
     * 请求体
     */
    private String requestBody;

    /**
     * 响应头
     */
    private String responseHeader;

    /**
     * 响应体
     */
    private String responseBody;

    /**
     * response_body是否base64加密过
     */
    private boolean responseBodyIsBase64;

    /**
     * 响应码
     */
    private Integer responseCode;

    /**
     * 更新时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTestScene() {
        return testScene;
    }

    public void setTestScene(String testScene) {
        this.testScene = testScene;
    }

    public Boolean getAvailable() {
        return available;
    }

    public void setAvailable(Boolean available) {
        this.available = available;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelAttr() {
        return channelAttr;
    }

    public void setChannelAttr(String channelAttr) {
        this.channelAttr = channelAttr;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestHeader() {
        return requestHeader;
    }

    public void setRequestHeader(String requestHeader) {
        this.requestHeader = requestHeader;
    }

    public String getRequestBody() {
        return requestBody;
    }

    public void setRequestBody(String requestBody) {
        this.requestBody = requestBody;
    }

    public String getResponseHeader() {
        return responseHeader;
    }

    public void setResponseHeader(String responseHeader) {
        this.responseHeader = responseHeader;
    }

    public String getResponseBody() {
        return responseBody;
    }

    public void setResponseBody(String responseBody) {
        this.responseBody = responseBody;
    }

    public boolean isResponseBodyIsBase64() {
        return responseBodyIsBase64;
    }

    public void setResponseBodyIsBase64(boolean responseBodyIsBase64) {
        this.responseBodyIsBase64 = responseBodyIsBase64;
    }

    public Integer getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(Integer responseCode) {
        this.responseCode = responseCode;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}